#pragma omce 

#include <iostream>
#include <vector> 

class Util
{
public: 
            // aaaaaaaaa sep bbbbbbb sep cccccccc sep sep 
    static void cusString(std::string s, const std::string& sep, std::vector<std::string> *out)
    {
        std::size_t start = 0 ;
        while (start < s.size())
        {
            auto pos = s.find(sep, start);
            if(pos == std::string::npos) 
            {
                break; 
            }
            std::string sub = s.substr(start, pos - start);
            out->push_back(sub);
            start += sub.size();
            start += sep.size();

        }
        
        if(start < s.size()) //这有什么用
        {
            out->push_back(s.substr(start));
        }
    }


};